package com.netcracker.studportal.server.dao;

import java.util.Collection;

import com.netcracker.studportal.server.model.Exam;
import com.netcracker.studportal.server.model.ExamWithResult;
import com.netcracker.studportal.server.model.Professor;
import com.netcracker.studportal.server.model.Student;

public interface ExamDAO {
	public void Add(Exam exam) throws Exception;
	public void Update(Exam  exam) throws Exception;
	public Exam  getById(Long id) throws Exception;
	public void Delete(Exam exam) throws Exception;
	public Collection<Exam> getAll() throws Exception;
	public Collection<Exam> getExamByProf(Professor prof) throws Exception;
	public Collection<Exam> getExamBySubject(Long subject_id) throws Exception;
}
